package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Service;

/**
 * Auther：DONG on 2021/11/2
 **/

public interface AdChannelService extends IService<AdChannel> {
    ResponseResult findByNameAndPage(ChannelDto dto);
    ResponseResult   insert(AdChannel adChannel);

    ResponseResult updateAdChannel(AdChannel adChannel);

    ResponseResult delete(Integer id);
}
